package net.huashitong.ssydt.money.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import net.huashitong.ssydt.money.entity.SsMoneyGoldRecord;

import java.io.Serializable;
import java.util.Date;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.08.16
 */
@ApiModel(value ="GoldsRecords", description = "我的金币记录")
public class GoldsRecordsMyOutVO implements Serializable {

    private static final long serialVersionUID = 943235556516522650L;

    @ApiModelProperty(value = "系统id")
    private Long id;//系统id

    @ApiModelProperty(value = "操作")
    private String operation;//操作

    @ApiModelProperty(value = "金额")
    private Long goldNumber;//金额

    @ApiModelProperty(value = "描述")
    private String description;//描述

    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;//创建时间

    public GoldsRecordsMyOutVO(SsMoneyGoldRecord ssMoneyGoldRecord) {
        super();
        this.setId(ssMoneyGoldRecord.getId());
        this.setOperation(ssMoneyGoldRecord.getOperation());
        this.setGoldNumber(ssMoneyGoldRecord.getGoldNumber());
        this.setDescription(ssMoneyGoldRecord.getDescription());
        this.setGmtCreate(ssMoneyGoldRecord.getGmtCreate());
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public Long getGoldNumber() {
        return goldNumber;
    }

    public void setGoldNumber(Long goldNumber) {
        this.goldNumber = goldNumber;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}
